home *** CD-ROM | disk | FTP | other *** search
/ Interactive Web Graphics with Shout 3D / Interactive Web Graphics With Shout 3D.iso / mac / Shout3Ddemo / S3D_2E1.exe / Shout3d_runtime / codebase / models / animTests / pivotbox.s3d < prev    next >
Text File  |  2000-05-30  |  2KB  |  66 lines

  1. DEF world-TIMER TimeSensor {
  2.     loop TRUE
  3.     cycleInterval 3.333
  4. }
  5. DEF Box01 Transform {
  6.     translation 30.84 28.76 0.09295
  7.     rotation 0 0 -1 -0.008727
  8.     children [
  9.         Transform {
  10.             translation -30.94 14.63 0
  11.             children [
  12.                 Shape {
  13.                     appearance [
  14.                         MultiAppearance {
  15.                             material Material {
  16.                                 diffuseColor 0.03137 0.4314 0.5255
  17.                             }
  18.                         }
  19.                     ]
  20.                     geometry MultiMesh {
  21.                         coord Coordinate {
  22.                             point [
  23.                                 -7.5 0 7.5 7.5 0 7.5 -7.5 0 -7.5 7.5 0 -7.5 -7.5 15 7.5 7.5 15 7.5 -7.5 15 -7.5 7.5 15 -7.5
  24.                             ]
  25.                         }
  26.                         coordIndex [
  27.                             0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  28.                             2 0 4 -1 4 6 2 -1
  29.                         ]
  30.                         edgeVisibleIndex [
  31.                             1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1 1 1 0 -1
  32.                             1 1 0 -1 1 1 0 -1
  33.                         ]
  34.                         smoothingIndex [
  35.                             2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  36.                         ]
  37.                         appearanceIndex [
  38.                             1 1 0 0 4 4 3 3 5 5 2 2
  39.                         ]
  40.                         textureMappings [
  41.                         ]
  42.                     }
  43.                 }
  44.                 DEF Box01-ROT-INTERP TCBOrientationInterpolator {
  45.                     key [                        0 0.5 1
  46.  
  47.                     ]
  48.                     keyValue [
  49.                         0 0 -1 -0.008727    0    0    0    0.416    0.408
  50.                         0 0 -1 -0.6109    0    0    0    0    0
  51.                         0 0 1 -0.9687    -0.496    -0.556    0.596    0    0
  52.                     ]
  53.                 }
  54.                 ROUTE world-TIMER.fraction_changed TO Box01-ROT-INTERP.set_fraction
  55.                 ROUTE Box01-ROT-INTERP.value_changed TO Box01.set_rotation
  56.             ]
  57.         }
  58.     ]
  59. }
  60. DEF Camera01 Viewpoint{
  61.     position -0.9491 69.42 143.5
  62.     orientation 0.9993 0.03732 0.002464 -0.132
  63.     fieldOfView 0.6024
  64.     description "Camera01"
  65. }
  66.